/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 */
package org.nanhill.commons.pattern.flow;

/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 * 
 */
public class DefaultStateFactory implements StateFactory {

	public ActionState createActionState(String id, Action action) {
		return new DefaultActionState(id, action);
	}

	public ViewState createViewSate(String id, String stateName) {
		return new DefaultViewState(id, stateName);
	}

}
